import {Routes} from '@angular/router';
import {DeviceComponentComponent} from './device-component/device-component.component'
import {RuleComponentComponent} from "./rule-component/rule-component.component";
import {SimulationComponentComponent} from "./simulation-component/simulation-component.component";
import {DeviceAddComponentComponent} from "./device-add-component/device-add-component.component";

export const routers: Routes = [
  {path: '', component: DeviceComponentComponent},
  {path: 'device', component: DeviceComponentComponent},
  {path: 'device/add', component: DeviceAddComponentComponent},
  {path: 'rule', component: RuleComponentComponent},
  {path: 'simulation/:id', component: SimulationComponentComponent}
]
